<div class="am-modal am-modal-no-btn" tabindex="-1" id="address-change">
    <div class="am-modal-dialog">
        <div class="am-modal-hd">
            <a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>&times;</a>
        </div>
        <div class="am-modal-bd am-text-left">
            <h2 class="am-margin-top-sm am-margin-bottom-sm">选择地址</h2>
            <div class="">
                @if($all_addr)
                @foreach($all_addr as $item)
                <form class="am-form am-form-horizontal am-padding-top am-padding-bottom am-margin-bottom-sm"
                      data-item="{{json_encode($item->toArray())}}">
                    <div class="am-form-group am-margin-bottom-0">
                        <label class="am-u-md-3 am-u-lg-3 am-text-right am-padding-right-0 am-link-muted">收货人：</label>
                        <div class="am-u-md-9 am-u-lg-9">{{$item->consignee}}</div>
                    </div>
                    <div class="am-form-group am-margin-bottom-0">
                        <label class="am-u-md-3 am-u-lg-3 am-text-right am-padding-right-0 am-link-muted">联系方式：</label>
                        <div class="am-u-md-9 am-u-lg-9">{{$item->phone}}</div>
                    </div>
                    <div class="am-form-group am-margin-bottom-0">
                        <label class="am-u-md-3 am-u-lg-3 am-text-right am-padding-right-0 am-link-muted">收货地址：</label>
                        <div class="am-u-md-9 am-u-lg-9">{{$item->address}}</div>
                    </div>
                </form>
                @endforeach
                @endif
                <div class="am-form-group am-text-center am-margin-top-xl">
                    <div class="am-inline-block am-margin-right-sm"><input type="button" id="submit" class="am-btn am-btn-danger am-padding-left-lg am-padding-right-lg am-radius" value="确定"></div>
                    <div class="am-inline-block"><input type="button" id="cancel" class="am-btn am-btn-default am-padding-left-lg am-padding-right-lg am-radius" value="取消"></div>
                </div>
            </div>
        </div>
    </div>
</div>